package com.qf.api.blog.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author: sin
 * @Date: 2025/5/26 10:55
 * @Description: 新增/修改知识库目录
 **/
@Data
public class CatalogDTO {

    @NotNull(message = "知识库Id不能为空")
    private Long wikiId;

    @NotBlank(message = "标题不能为空")
    private String title;

    private String icon;
}
